package org.jeecg.modules.business.delivery.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 调拨任务物料明细
 * @Author: jeecg-boot
 * @Date:   2023-11-22
 * @Version: V1.0
 */
@ApiModel(value="wms_delivery_task_material对象", description="调拨任务物料明细")
@Data
@TableName("wms_delivery_task_material")
public class WmsDeliveryTaskMaterial implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**逻辑删除*/
	@Excel(name = "逻辑删除", width = 15)
    @ApiModelProperty(value = "逻辑删除")
    @TableLogic
    private Integer delFlag;
	/**租户id*/
	@Excel(name = "租户id", width = 15)
    @ApiModelProperty(value = "租户id")
    private Integer tenantId;
	/**调拨任务id*/
    @ApiModelProperty(value = "调拨任务id")
    private String wmsDeliveryTaskId;
	/**物料id*/
	@Excel(name = "物料id", width = 15)
    @ApiModelProperty(value = "物料id")
    private String wmsBasicMaterialId;
	/**规格型号*/
	@Excel(name = "规格型号", width = 15)
    @ApiModelProperty(value = "规格型号")
    private String specificationModel;
	/**批次号*/
	@Excel(name = "批次号", width = 15)
    @ApiModelProperty(value = "批次号")
    private String batchCode;
	/**调拨数量*/
	@Excel(name = "调拨数量", width = 15)
    @ApiModelProperty(value = "调拨数量")
    private java.math.BigDecimal deliveryQuantity;
	/**库存单位*/
	@Excel(name = "库存单位", width = 15)
    @ApiModelProperty(value = "库存单位")
    private String wmsBasicUnitId;
	/**调出库房id*/
	@Excel(name = "调出库房id", width = 15)
    @ApiModelProperty(value = "调出库房id")
    private String outWarehouseId;
	/**调出库区id*/
	@Excel(name = "调出库区id", width = 15)
    @ApiModelProperty(value = "调出库区id")
    private String outWarehouseAreaId;
	/**调出库位id*/
	@Excel(name = "调出库位id", width = 15)
    @ApiModelProperty(value = "调出库位id")
    private String outWarehouseAreaLocationId;
	/**调入库房id*/
	@Excel(name = "调入库房id", width = 15)
    @ApiModelProperty(value = "调入库房id")
    private String inWarehouseId;
	/**调入库区id*/
	@Excel(name = "调入库区id", width = 15)
    @ApiModelProperty(value = "调入库区id")
    private String inWarehouseAreaId;
	/**调入库位id*/
	@Excel(name = "调入库位id", width = 15)
    @ApiModelProperty(value = "调入库位id")
    private String inWarehouseAreaLocationId;
	/**辅数量*/
	@Excel(name = "辅数量", width = 15)
    @ApiModelProperty(value = "辅数量")
    private java.math.BigDecimal assistQuantity;
	/**辅单位*/
	@Excel(name = "辅单位", width = 15)
    @ApiModelProperty(value = "辅单位")
    private String unitAssistId;
	/**钢卷号*/
	@Excel(name = "钢卷号", width = 15)
    @ApiModelProperty(value = "钢卷号")
    private String steelCoilNumber;
	/**外径*/
	@Excel(name = "外径", width = 15)
    @ApiModelProperty(value = "外径")
    private java.math.BigDecimal outsideDiameter;
	/**宽度*/
	@Excel(name = "宽度", width = 15)
    @ApiModelProperty(value = "宽度")
    private java.math.BigDecimal width;
	/**长度*/
	@Excel(name = "长度", width = 15)
    @ApiModelProperty(value = "长度")
    private java.math.BigDecimal length;
	/**厚度*/
	@Excel(name = "厚度", width = 15)
    @ApiModelProperty(value = "厚度")
    private java.math.BigDecimal thickness;
	/**牌号*/
	@Excel(name = "牌号", width = 15)
    @ApiModelProperty(value = "牌号")
    private java.math.BigDecimal shopSign;
	/**铁损*/
	@Excel(name = "铁损", width = 15)
    @ApiModelProperty(value = "铁损")
    private java.math.BigDecimal ironLoss;
	/**外观等级*/
	@Excel(name = "外观等级", width = 15)
    @ApiModelProperty(value = "外观等级")
    private java.math.BigDecimal appearanceGrade;
	/**是否合卷*/
	@Excel(name = "是否合卷", width = 15)
    @ApiModelProperty(value = "是否合卷")
    private String isMergeRoll;
	/**投入批次号*/
	@Excel(name = "投入批次号", width = 15)
    @ApiModelProperty(value = "投入批次号")
    private String inputBatchCode;
	/**母卷批次号*/
	@Excel(name = "母卷批次号", width = 15)
    @ApiModelProperty(value = "母卷批次号")
    private String motherBatchCode;
	/**柱型*/
	@Excel(name = "柱型", width = 15)
    @ApiModelProperty(value = "柱型")
    private String pillar;
	/**理料方向*/
	@Excel(name = "理料方向", width = 15)
    @ApiModelProperty(value = "理料方向")
    private String materialDirection;
	/**台号*/
	@Excel(name = "台号", width = 15)
    @ApiModelProperty(value = "台号")
    private String stationNum;
	/**实称净重*/
	@Excel(name = "实称净重", width = 15)
    @ApiModelProperty(value = "实称净重")
    private java.math.BigDecimal measuredWeight;
	/**毛重*/
	@Excel(name = "毛重", width = 15)
    @ApiModelProperty(value = "毛重")
    private java.math.BigDecimal grossWeight;
	/**产品型号*/
	@Excel(name = "产品型号", width = 15)
    @ApiModelProperty(value = "产品型号")
    private String productModel;
	/**产品类型*/
	@Excel(name = "产品类型", width = 15)
    @ApiModelProperty(value = "产品类型")
    private String productType;
	/**载具*/
	@Excel(name = "载具", width = 15)
    @ApiModelProperty(value = "载具")
    private String vehicle;
	/**载具编号（车号）*/
	@Excel(name = "载具编号（车号）", width = 15)
    @ApiModelProperty(value = "载具编号（车号）")
    private String vehicleNumber;
    /**计划生产站点*/
    @Excel(name = "计划生产站点", width = 15)
    @ApiModelProperty(value = "计划生产站点")
    private String planProductSite;
    /**计划生产工单号*/
    @Excel(name = "计划生产工单号", width = 15)
    @ApiModelProperty(value = "计划生产工单号")
    private String planProductOrderNumber;
    /**母卷物料编码*/
    @Excel(name = "母卷物料编码", width = 15)
    @ApiModelProperty(value = "母卷物料编码")
    private String motherMaterialCode;
    /**备注*/
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
    /**来源系统单号*/
    @Excel(name = "来源系统单号", width = 15)
    @ApiModelProperty(value = "来源系统单号")
    private String originalSystemNumber;
    /**来源系统行号*/
    @Excel(name = "来源系统行号", width = 15)
    @ApiModelProperty(value = "来源系统行号")
    private String originalSystemLineNumber;

    /**调拨状态*/
    @Excel(name = "调拨状态", width = 15)
    @ApiModelProperty(value = "调拨状态")
    private String deliveryStatus;
    /**生产工单号*/
    @Excel(name = "生产工单号", width = 15)
    @ApiModelProperty(value = "生产工单号")
    private String productNumber;

    @TableField(exist = false)
    private String materialName;

    @TableField(exist = false)
    private String materialCode;

    /**是否最后一卷 Y / N */
    @Excel(name = "是否最后一卷 Y / N ", width = 15)
    @ApiModelProperty(value = "是否最后一卷 Y / N ")
    private String lastMasterCode;

}
